import request from '@/utils/request'

// 验证码
export const number = key => request.get(`/manager/captcha?key=${key}`, { responseType: 'blob' })

// 登录
export const login = (data) => request.post('/manager/login', data)

// 获取用户可用的所有菜单
export const menu = () => request.get('/manager/menus')

